<?php

/**
 * Created by PhpStorm.
 * User: chenzhitao
 * Date: 2018/4/1
 * Time: 下午7:24
 */

namespace App\Http\Controllers\User;
use App\Busi\Modules\Auth\CheckLoginBusi;
use App\Busi\Modules\Auth\LoginBusi;
use App\Busi\Modules\Auth\LogoutBusi;
use App\Busi\Modules\Auth\RegisterBusi;
use App\Busi\Modules\Auth\ResetPwdByPhoneBusi;
use App\Http\Controllers\Controller;

class AuthController extends Controller
{
    function register(RegisterBusi $register){

        return response()->packet($register->response());

    }
    function login(LoginBusi $register){

        return response()->packet($register->response());

    }
    function resetPwdByphone(ResetPwdByPhoneBusi $busi){
        return response()->packet($busi->response());
    }
    function checklogin(CheckLoginBusi $busi){
        return response()->packet($busi->response());
    }
    function logout(LogoutBusi $busi){
        return response()->packet($busi->response());
    }
}